<?php
/**
 * Created by PhpStorm.
 * User: xiandanjia
 * Date: 2018/10/30
 * Time: 下午 3:36
 */

namespace App\Components;

use Swoft\Bean\Annotation\Inject;

/**
 * 缓存句柄
 * Class Cache
 * @package App\Components
 */


class Cache
{
    /**
     * 返回redis操作句柄  配置2
     * @Inject("Redis2")
     * @var \Swoft\Redis\Redis
     */
    private $Redis_p;

  public function redisHandle(){
    return Cache();
  }

}